package com.testfileupload.uploadimg.design.iterator.define;

public interface Aggregate {
    //是容器必然要添加】
    public void add(Object o);
    //减少元素
    public void remove(Object o);
    //由迭代器遍历所有元素
    public Iterator iterator();
}
